package com.njcb.game.application;

import com.njcb.ams.support.annotation.Interaction;
import com.njcb.ams.support.annotation.Trader;
import com.njcb.game.pojo.RegisterInput;
import com.njcb.game.service.RegisterService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;

/**
 * 系统基础功能。
 * 
 * @author liuyanlong
 *
 */
@Service
@Lazy(false)
@Interaction(groupName = "GAME")
public class BusinessGameManager {
	private static final Logger logger = LoggerFactory.getLogger(BusinessGameManager.class);
	@Autowired
	private RegisterService registerService;

	@Trader(tradeCode = "GM1001", tradeName = "参赛人信息注册")
	public String register(RegisterInput input) {
		return registerService.register(input);
	}

}
